package hu.issue.framework.web.servlet;

import hu.issue.entity.User;
import hu.issue.framework.web.Constants;

import javax.servlet.http.HttpSession;

public class SessionUtil {

	public static User getUser(final HttpSession session) {
		return (User) session.getAttribute(Constants.USER_SESSION_NAME);
	}
}
